class RenamingSubCategoryIdToCategoryIdInAdvertismentAttributeFieldValues < ActiveRecord::Migration
  def self.up
    rename_column :advertisment_attribute_field_values , :sub_category_id, :category_id
  end

  def self.down
    rename_column :advertisment_attribute_field_values , :category_id, :sub_category_id
  end
end
